package tianrun.ziguan.api.calculate.config.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import tianrun.ziguan.api.calculate.config.entity.base.BaseTemplateModule;

public class TStaticPropertiesModule extends BaseTemplateModule {

    @TableId(type = IdType.AUTO)
    private Long id;
    private String name;
    private String description;
    private Long templateId;
    @TableLogic(value = "true", delval = "false")
    @TableField("is_valid")
    private Boolean isValid;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Long getTemplateId() {
        return templateId;
    }

    public void setTemplateId(Long templateId) {
        this.templateId = templateId;
    }

    public Boolean getIsValid() {
        return isValid;
    }

    public void setIsValid(Boolean valid) {
        isValid = valid;
    }
}
